#ifndef CHECKERMATERIAL_H
#define CHECKERMATERIAL_H
#include "material.h"
#include "color.h"
#include <stdlib.h>
class CheckerMaterial:public MMaterial
{
    public:
        CheckerMaterial();
        CheckerMaterial(float _scale,float _reflectiveness=0);
        virtual ~CheckerMaterial();
        virtual Color sample(const CRay& ray,const GVector3& position,const GVector3& normal);
    protected:
    private:
    float scale;
};

#endif // CHECKERMATERIAL_H
